<%@ page language="java"
	import="java.util.*,com.icss.daos.*,com.icss.beans.*"
	pageEncoding="UTF-8"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >

<HTML>
<HEAD>
<TITLE>修改二级模块信息</TITLE>
<META content="text/html; charset=UTF-8" http-equiv=Content-Type>

<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<META name=author content="Discuz! Team and Comsenz UI Team">
<META name=copyright content="2001-2009 Comsenz Inc.">
<META name=MSSmartTagsPreventParsing content=True>
<META content=Yes http-equiv=MSThemeCompatible>
<META content=ie=7 http-equiv=x-ua-compatible>
<LINK>
<LINK rel=stylesheet type=text/css
	href="<%=basePath%>BBS/search_files/style_7_common.css">
<LINK rel=stylesheet type=text/css
	href="<%=basePath%>BBS/search_files/scriptstyle_7_search.css">


<SCRIPT type=text/javascript
	src="<%=basePath%>BBS/search_files/common.js"></SCRIPT>
</HEAD>
<BODY onkeydown="if(event.keyCode==27) return false;" id=search>

<DIV id=header></DIV>
<DIV id=wrap class=wrap>



<h2></h2>

<%
				String boardName = request.getParameter("boardName");

				BoardDao boarddao = new BoardDao();
				BoardVO boardvo = boarddao.getBoardByName(boardName);
			%>

<FORM class=searchform method=post
	action="<%=basePath%>bbsDealServlet?param=updateBoard"><INPUT
	value=ba3a486e type=hidden name=formhash> <LABEL
	class=searchlabel for=srchtxt> 修改二级 <br>
模块 </LABEL>

<h3>修改二级版块：</h3>
编号： <input type="text" name="boardID" value="<%=boardvo.getBoardID()%>"
	readonly> <br>
<br>
名称： <input type="text" name="boardName"
	value="<%=boardvo.getBoardName()%>"> <br>
<br>

所属版块: <select name="classId">
	<%
						ClassDao dao = new ClassDao();
						ArrayList<ClassVO> classdaos = dao.getAllClass();

						for (ClassVO type : classdaos) {
					%>

	<option value="<%=type.getClassID()%>"><%=type.getClassName()%>
	</option>
	<%
						}
						dao.close();
					%>


</select> <br>
<br>
版块信息： <br>
<textarea name="boardMsg" rows="5" cols="50"><%=boardvo.getBoardMsg()%></textarea>
<br>

<br>
<br>
<input type="submit" value=" 提交"> &nbsp;&nbsp;&nbsp; <input
	type="reset" value="重置"></form>

</FORM>

<DIV></DIV>
<hr class=shadowline>
</BODY>
</HTML>
